package cc.comac.mom.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import cc.comac.mom.bean.EquipDevAppend;
import cc.comac.mom.bean.EquipDevAppendBean;
import cc.comac.mom.util.ResultBean;
@FeignClient(name = "mom-equipment-mgmt-srv")
public interface EquipDevAppendService {
	
	@RequestMapping(value = "/p/cs/EquipDevAppendService/save",method = RequestMethod.POST)
	ResultBean save(@RequestBody EquipDevAppend obj);
	
	@RequestMapping(value = "/p/cs/EquipDevAppendService/update",method = RequestMethod.POST)
	ResultBean update(@RequestBody EquipDevAppend obj);
	
	@RequestMapping(value = "/p/cs/EquipDevAppendService/delete",method = RequestMethod.POST)
	ResultBean delete(@RequestBody EquipDevAppend obj);
	
	@RequestMapping(value = "/p/cs/EequipDevAppendService/getById",method = RequestMethod.POST)
	EquipDevAppend getById(@RequestBody EquipDevAppend obj);
	
	@RequestMapping(value = "/p/cs/EquipDevAppendService/selectByCondition",method = RequestMethod.POST)
	EquipDevAppendBean selectByCondition(@RequestBody EquipDevAppend obj);
}
